/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package helloworld;

/**
 *
 * @author Robbin
 */
public class InterfaceTest implements Database.DBInterface{

    @Override
    public boolean connect(String address, String userName, String password) {
        System.out.println("URL, "+address+"UserName, "+userName+"Password"+password);
        return true;
    }

    @Override
    public void disconnect() {
        System.out.println("disconnected");
        
    }

    @Override
    public boolean isConnected() {
       
        System.out.println("Connected");
        return true;
    }

    @Override
    public String getName(int id) {
        String a="Ali";
        System.out.println("The name: "+a);
        return a;
        
    }
}
